#!/usr/bin/python2.7
#coding=utf8

class Config(object):
    def __init__(self):
        import ConfigParser
        self.conf = ConfigParser.ConfigParser()
        self.conf.read("D:/PythonSource/ana_excel/ana_excel/config_files/ana_excel.cfg")
        self.SQLALCHEMYCONN = self.conf.get("mysql", "SQLALCHEMYCONN")
        self.SQLALCHEMYECHO = self.conf.get("mysql", "SQLALCHEMYECHO")
        self.RECONNECTSLEEPTIME = self.conf.getfloat("mysql", "RECONNECTSLEEPTIME")

        self.CSVFILEPATHPARENT = self.conf.get("csvfilepath", "CSVFILEPATHPARENT")
        self.RELATIONSHIPMAP = self.CSVFILEPATHPARENT + self.conf.get("csvfilepath", "RELATIONSHIPMAP")